package com.xms.queryview.service;

import com.xms.core.exception.XmsException;
import com.xms.datacore.service.ICreaterService;
import com.xms.queryview.entity.QueryView;
import com.xms.schema.entity.Attribute;
import com.xms.schema.entity.Entity;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * IQueryviewCreaterService
 * </p>
 *
 * @author migo
 * @since 2021/9/3
 */
public interface IQueryViewCreaterService extends ICreaterService<QueryView> {
    boolean createDefaultView(Entity entity, List<Attribute> attributes) throws XmsException, SQLException;
}
